package com.open.capacity.nk.service;

import com.open.capacity.nk.entity.NkApprovalpaymentreceiptsettlement;

import com.open.capacity.commons.PageResult;

import java.util.Map;
import java.util.List;

/**
 * @author
 * @email
 * @date 2023-03-01 20:29:13
 */
public interface NkApprovalpaymentreceiptsettlementService {

    /**
     * 本地保存
     */
    int syncData();

    /**
     * 添加
     *
     * @param nkApprovalpaymentreceiptsettlement
     */
    int save(NkApprovalpaymentreceiptsettlement nkApprovalpaymentreceiptsettlement);


    /**
     * 删除
     *
     * @param id
     */
    int delete(String id);


    /**
     * 查询记录
     *
     * @param id
     * @return
     */
    NkApprovalpaymentreceiptsettlement findById(String id);

    /**
     * 分页
     *
     * @param params
     * @return
     */
    PageResult<NkApprovalpaymentreceiptsettlement> pageAll(Map<String, Object> params);

    /**
     * 列表
     *
     * @param params
     * @return
     */
    List<NkApprovalpaymentreceiptsettlement> findAll(Map<String, Object> params);
}

